@include b(custom-calendar) {
  width: 100%;
  height: 100%;
  @include e(calendar-day) {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 380px;
    height: 100%;
    min-height: 900px;
    border: 1px solid getCssVar(color, border);
    @include m(header) {
      padding: 0 40px;
      border-bottom: 1px solid getCssVar(color, border);
    }
    @include m(header-top) {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;
    }
    @include m(title) {
      min-width: 80px;
      font-size: 20px;
    }
    @include m(text-secondary) {
      height: 56px;
      line-height: 56px;
      text-align: left;
    }
    @include m(select-time) {
      width: 130px;
      height: 32px;

      .el-input__suffix {
        display: none;
      }
    }
    @include m(legend) {
      display: flex;
      flex-grow: 1;
      align-items: center;
      justify-content: center;
      height: 100%;
      overflow: auto;
    }
    @include m(legend-item) {
      display: flex;
      align-items: center;
      width: auto;
      height: auto;
      padding: 0 getCssVar('spacing', 'tight');
      line-height: 1em;
      cursor: pointer;
    }
    @include m(legend-item-tip) {
      display: inline-block;
      width: 1.5em;
      height: 0.9em;
      margin-right: getCssVar('spacing', 'extra-tight');
      border-radius: getCssVar(border, radius, extra, small);
    }
    @include m(legend-item-text) {
      display: inline-block;
      width: auto;
      max-width: 100px;
      overflow: hidden;
      text-align: left;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
  @include e(calendar-week) {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 380px;
    height: 100%;
    border: 1px solid getCssVar(color, border);
    @include m(header) {
      padding: 0 40px;
      border-bottom: 1px solid getCssVar(color, border);
    }
    @include m(header-top) {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;
    }
    @include m(title) {
      min-width: 80px;
      font-size: 20px;
    }
    @include m(text-secondary) {
      height: 56px;
      line-height: 56px;
      text-align: left;
    }
    @include m(select-time) {
      width: 130px;
      height: 32px;

      .el-input__suffix {
        display: none;
      }
    }
    @include m(legend) {
      display: flex;
      flex-grow: 1;
      align-items: center;
      justify-content: center;
      height: 100%;
      overflow: auto;
    }
    @include m(legend-item) {
      display: flex;
      align-items: center;
      width: auto;
      height: auto;
      padding: 0 getCssVar('spacing', 'tight');
      line-height: 1em;
      cursor: pointer;
    }
    @include m(legend-item-tip) {
      display: inline-block;
      width: 1.5em;
      height: 0.9em;
      margin-right: getCssVar('spacing', 'extra-tight');
      border-radius: getCssVar(border, radius, extra, small);
    }
    @include m(legend-item-text) {
      display: inline-block;
      width: auto;
      max-width: 100px;
      overflow: hidden;
      text-align: left;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
  @include e(calendar-month) {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    @include m(body) {
      flex-grow: 1;
      width: 100%;
      height: calc(100% - 58px);
    }
    @include m(legend) {
      display: flex;
      align-items: center;
      justify-content: center;
      width: auto;
      height: 100%;
    }
    @include m(legend-item) {
      display: flex;
      align-items: center;
      width: auto;
      height: auto;
      padding: 0 getCssVar('spacing', 'tight');
      line-height: 1em;
      cursor: pointer;
    }
    @include m(legend-item-tip) {
      display: inline-block;
      width: 1.5em;
      height: 0.9em;
      margin-right: getCssVar('spacing', 'extra-tight');
      border-radius: getCssVar(border, radius, extra, small);
    }
    @include m(legend-item-text) {
      display: inline-block;
      width: auto;
      max-width: 100px;
      overflow: hidden;
      text-align: left;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    @include m(header) {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      min-height: 58px;
      padding: 12px 20px;
      border-bottom: 1px solid getCssVar(color, border);
    }
    @include m(button-group) {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 388px;
    }
  }
  @include e(header) {
    @include m(title) {
      min-width: 120px;
    }
  }

  .el-date-editor.el-input,
  .el-date-editor.el-input__wrapper {
    width: 130px;
    height: 32px;
  }
}
